<?
class MeetingManager
{
  public $logger;

  function __construct() {
    // set env vars
    date_default_timezone_set('America/New_York');

    // load necessary functions and classes
    require_once('class.factory.php');
    require_once('class.db.php');
    require_once('class.meetings.lookup.php');
    require_once('class.calendar.lookup.php');
    require_once('class.store.lookup.php');
    require_once('class.print.php');
    require_once('class.props.php');
    require_once('functions.general.php');

    // create singleton logger object
    $this->logger = Factory::manufacture('Logger');
    $this->logger->setLevel("DEBUG");

    
    //session handling
    $session_path = Props::get("session", "save_path");
	session_save_path($session_path);
    
    session_set_cookie_params(99999999);
    session_start();
  }

  function __destruct() {
    //print $this->logger->printDebug();
    //print $this->logger->printError();
  }
}
?>
